<template>
  <el-col :span="24">
    <el-menu
        active-text-color="#ffd04b"
        background-color="#545c64"
        class="el-menu-vertical-demo"
        default-active="2"
        text-color="#fff"
        @open="handleOpen"
        @close="handleClose"
        router
    >
      <el-menu-item index="/about">
        <el-icon><icon-menu /></el-icon>
        <span>首页</span>
      </el-menu-item>
      <el-menu-item index="/fenlei">
        <el-icon><icon-menu /></el-icon>
        <span>商品分类</span>
      </el-menu-item>
      <el-menu-item index="/geren">
        <el-icon><icon-menu /></el-icon>
        <span>个人订单</span>
      </el-menu-item>
      <el-menu-item index="/cart">
        <el-icon><icon-menu /></el-icon>
        <span>购物车</span>
      </el-menu-item>
      <el-menu-item index="/pro1">
        <el-icon><icon-menu /></el-icon>
        <span>购物车</span>
      </el-menu-item>
      <el-menu-item index="/pro2">
        <el-icon><icon-menu /></el-icon>
        <span>购物车</span>
      </el-menu-item>
    </el-menu>
  </el-col>
</template>

<script setup>
import router from "@/router/index.js";

let par= localStorage.getItem("patientId");
</script>

<style scoped>

</style>